package com.servlet;

public class sonschool implements school{
    private String name;
    private int studentnum;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getStudentnum() {
        return studentnum;
    }

    public void setStudentnum(int studentnum) {
        this.studentnum = studentnum;
    }

    @Override
    public String toString() {
        return "sonschool{" +
                "name='" + name + '\'' +
                ", studentnum=" + studentnum +
                '}';
    }

    @Override
    public void dosome() {
        System.out.println("lasfaf");
    }
}
